<?php

namespace App\Models;

use App\Traits\Relation\StationBillsRelation;
use Illuminate\Database\Eloquent\Model;

class StationBills extends Model
{

    //
    
    use StationBillsRelation;
    protected $table = 'station_bills';

    /**
     * 定义不可批量填充字段
     *
     * @var array
     * Date: 2018/06/11
     * @author Tenny
     */
    protected $guarded = ['id'];

    /**
     * 定义隐藏字段
     *
     * @var array
     * Date: 2018/06/11
     * @author Tenny
     */
    protected $hidden = [
        'created_at', 'updated_at'
    ];

    protected $fillable = ['start_time' ,'end_time' ,'service_id' ,'total_sign' ,'charge' ,'total_income' ,'status' ,'number'];
    
}
